package com.yzl.frelink.entities.dep;

import lombok.Data;

@Data
public class Deedge {
    private String source;
    private String target;

    public Deedge(String source, String target) {
        this.source = source;
        this.target = target;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (obj == null || getClass() != obj.getClass()) return false;
        Deedge deedge = (Deedge) obj;
        return source.equals(deedge.source) && target.equals(deedge.target);
    }
}
